#include <cstdio>
#include "../class/random.h"

const int N = 1e5;
const float RATE = 0.01;

int main() {
    int cnt = 0;
    for (int i = 1; i <= N; i++)
        if (chance(RATE))
            cnt++;
    printf("%f", (float)cnt / N);
}